﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;

namespace Submitter
{
    public partial class NumberOnlyXtraUserControl : DevExpress.XtraEditors.XtraUserControl
    {
        public NumberOnlyXtraUserControl()
        {
            InitializeComponent();
            this.VisibleChanged += (sender, args) => this.textEdit1.SelectAll();

        }

        public object EditValue
        {
            get { return textEdit1.EditValue; }
            set { textEdit1.EditValue = value; }
        }
    }
}
